# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:       加一
# Name:         demo4.26
# Description:  使用超过列表索引范围的索引，会抛出异常
# Author:       加一
# Date:         2019/2/26
#-------------------------------------------------------------------------------

s = ["Bill", "Mike", "John"]
s[-1] = "Mary"
print(s)
s[3] = "Peter"
s[-3] = "蜘蛛侠"
print(s)
s[-4] = "钢铁侠"